package itbour.onetouchshow.bean;

import java.util.List;

/**
 * Created by onetouch on 2017/12/2.
 */

public class VideoMoule {


    /**
     * tmplId : 20035
     * docString : {"designId":77,"designNm":"俊俊要的视频测试模板不要动!!!!!","productId":0,"productNm":"","thumbs":["http://itbour-generate.itbour.com/video/U2/2017/12/01/180825421_QF9zZPV3zRqR6D73XO2l/thumb.jpg"],"coreStructure":{"ct":903,"version":3,"name":"视频模版提纲","root":{"ct":904,"id":1,"topic":"视频模版提纲","children":[{"ct":904,"id":1211750915,"topic":"文字","children":[],"kind":3,"type":1,"value":{"ct":808,"type":20,"id":0,"value":"请搜索一键生成...","min":0,"max":10,"tip":""},"child_max":1,"h":0,"o":0,"p":0,"relations":[{"page_index":0,"obj_id":5,"page_type":1,"bound":{"paths":[{"points":[[0,0,8],[500,0,1],[500,400,1],[0,400,1],[0,0,9]],"w":0,"h":0}],"w":500,"h":400,"x":0,"y":0},"pos":{"ct":2,"x":671.309,"y":97.062,"an":0,"w":500,"h":400}}]},{"ct":904,"id":1211752086,"topic":"图片","children":[],"kind":3,"type":2,"value":{"ct":805,"type":30,"id":0,"value":"http://itbour-user.oss-cn-hangzhou.aliyuncs.com/custAni/assets/images/U2/2017/11/30/181349694_k2ZBgCEVu0/img_0.png","pos":{"ct":2,"x":0,"y":-3.415,"an":0,"w":400,"h":206.829},"mask":{"paths":[{"points":[[0,0,8],[400,0,1],[400,200,1],[0,200,1],[0,0,9]],"w":0,"h":0}],"w":400,"h":200,"x":0,"y":0}},"child_max":1,"h":0,"o":0,"p":0,"relations":[{"page_index":0,"obj_id":6,"page_type":1,"bound":{"paths":[{"points":[[0,0,8],[400,0,1],[400,200,1],[0,200,1],[0,0,9]],"w":0,"h":0}],"w":400,"h":200,"x":0,"y":0},"pos":{"ct":2,"x":141.043,"y":125.405,"an":0,"w":400,"h":200}}]}],"kind":0,"type":0,"child_max":1,"h":0,"o":0,"p":0,"relations":[]}}}
     * docId : 0
     * opType : 2
     */

    private int tmplId;
    private String docString;
    private int docId;
    private int opType;

    public int getTmplId() {
        return tmplId;
    }

    public void setTmplId(int tmplId) {
        this.tmplId = tmplId;
    }

    public String getDocString() {
        return docString;
    }

    public void setDocString(String docString) {
        this.docString = docString;
    }

    public int getDocId() {
        return docId;
    }

    public void setDocId(int docId) {
        this.docId = docId;
    }

    public int getOpType() {
        return opType;
    }

    public void setOpType(int opType) {
        this.opType = opType;
    }


    public class VideoModuleBean {

        /**
         * designId : 77
         * designNm : 俊俊要的视频测试模板不要动!!!!!
         * productId : 0
         * productNm :
         * pageWidth : 1920
         * pageHeight : 1080
         * sceneThumbs : ["http://itbour-generate.itbour.com/video/U2/2017/12/01/180825421_QF9zZPV3zRqR6D73XO2l/thumb.jpg"]
         * coreStructure : {"ct":903,"version":3,"name":"视频模版提纲","root":{"ct":904,"id":1,"topic":"视频模版提纲","children":[{"ct":904,"id":1211750915,"topic":"文字","children":[],"kind":3,"type":1,"value":{"ct":808,"type":20,"id":0,"value":"请搜索一键生成...","min":0,"max":10,"tip":""},"child_max":1,"h":0,"o":0,"p":0,"relations":[{"page_index":0,"obj_id":5,"page_type":1,"bound":{"paths":[{"points":[[0,0,8],[500,0,1],[500,400,1],[0,400,1],[0,0,9]],"w":0,"h":0}],"w":500,"h":400,"x":0,"y":0},"pos":{"ct":2,"x":671.309,"y":97.062,"an":0,"w":500,"h":400}}]},{"ct":904,"id":1211752086,"topic":"图片","children":[],"kind":3,"type":2,"value":{"ct":805,"type":30,"id":0,"value":"http://itbour-user.oss-cn-hangzhou.aliyuncs.com/custAni/assets/images/U2/2017/11/30/181349694_k2ZBgCEVu0/img_0.png","pos":{"ct":2,"x":0,"y":-3.415,"an":0,"w":400,"h":206.829},"mask":{"paths":[{"points":[[0,0,8],[400,0,1],[400,200,1],[0,200,1],[0,0,9]],"w":0,"h":0}],"w":400,"h":200,"x":0,"y":0}},"child_max":1,"h":0,"o":0,"p":0,"relations":[{"page_index":0,"obj_id":6,"page_type":1,"bound":{"paths":[{"points":[[0,0,8],[400,0,1],[400,200,1],[0,200,1],[0,0,9]],"w":0,"h":0}],"w":400,"h":200,"x":0,"y":0},"pos":{"ct":2,"x":141.043,"y":125.405,"an":0,"w":400,"h":200}}]}],"kind":0,"type":0,"child_max":1,"h":0,"o":0,"p":0,"relations":[]}}
         */

        private int designId;
        private String designNm;
        private int productId;
        private String productNm;
        private int pageWidth;
        private int pageHeight;
        private CoreStructureBean coreStructure;
        private List<String> sceneThumbs;

        public int getDesignId() {
            return designId;
        }

        public void setDesignId(int designId) {
            this.designId = designId;
        }

        public String getDesignNm() {
            return designNm;
        }

        public void setDesignNm(String designNm) {
            this.designNm = designNm;
        }

        public int getProductId() {
            return productId;
        }

        public void setProductId(int productId) {
            this.productId = productId;
        }

        public String getProductNm() {
            return productNm;
        }

        public void setProductNm(String productNm) {
            this.productNm = productNm;
        }

        public int getPageWidth() {
            return pageWidth;
        }

        public void setPageWidth(int pageWidth) {
            this.pageWidth = pageWidth;
        }

        public int getPageHeight() {
            return pageHeight;
        }

        public void setPageHeight(int pageHeight) {
            this.pageHeight = pageHeight;
        }

        public CoreStructureBean getCoreStructure() {
            return coreStructure;
        }

        public void setCoreStructure(CoreStructureBean coreStructure) {
            this.coreStructure = coreStructure;
        }

        public List<String> getSceneThumbs() {
            return sceneThumbs;
        }

        public void setSceneThumbs(List<String> sceneThumbs) {
            this.sceneThumbs = sceneThumbs;
        }

        public class CoreStructureBean {
            /**
             * ct : 903
             * version : 3
             * name : 视频模版提纲
             * root : {"ct":904,"id":1,"topic":"视频模版提纲","children":[{"ct":904,"id":1211750915,"topic":"文字","children":[],"kind":3,"type":1,"value":{"ct":808,"type":20,"id":0,"value":"请搜索一键生成...","min":0,"max":10,"tip":""},"child_max":1,"h":0,"o":0,"p":0,"relations":[{"page_index":0,"obj_id":5,"page_type":1,"bound":{"paths":[{"points":[[0,0,8],[500,0,1],[500,400,1],[0,400,1],[0,0,9]],"w":0,"h":0}],"w":500,"h":400,"x":0,"y":0},"pos":{"ct":2,"x":671.309,"y":97.062,"an":0,"w":500,"h":400}}]},{"ct":904,"id":1211752086,"topic":"图片","children":[],"kind":3,"type":2,"value":{"ct":805,"type":30,"id":0,"value":"http://itbour-user.oss-cn-hangzhou.aliyuncs.com/custAni/assets/images/U2/2017/11/30/181349694_k2ZBgCEVu0/img_0.png","pos":{"ct":2,"x":0,"y":-3.415,"an":0,"w":400,"h":206.829},"mask":{"paths":[{"points":[[0,0,8],[400,0,1],[400,200,1],[0,200,1],[0,0,9]],"w":0,"h":0}],"w":400,"h":200,"x":0,"y":0}},"child_max":1,"h":0,"o":0,"p":0,"relations":[{"page_index":0,"obj_id":6,"page_type":1,"bound":{"paths":[{"points":[[0,0,8],[400,0,1],[400,200,1],[0,200,1],[0,0,9]],"w":0,"h":0}],"w":400,"h":200,"x":0,"y":0},"pos":{"ct":2,"x":141.043,"y":125.405,"an":0,"w":400,"h":200}}]}],"kind":0,"type":0,"child_max":1,"h":0,"o":0,"p":0,"relations":[]}
             */

            private int ct;
            private int version;
            private String name;
            private RootBean root;

            public int getCt() {
                return ct;
            }

            public void setCt(int ct) {
                this.ct = ct;
            }

            public int getVersion() {
                return version;
            }

            public void setVersion(int version) {
                this.version = version;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public RootBean getRoot() {
                return root;
            }

            public void setRoot(RootBean root) {
                this.root = root;
            }

            public class RootBean {
                /**
                 * ct : 904
                 * id : 1
                 * topic : 视频模版提纲
                 * children : [{"ct":904,"id":1211750915,"topic":"文字","children":[],"kind":3,"type":1,"value":{"ct":808,"type":20,"id":0,"value":"请搜索一键生成...","min":0,"max":10,"tip":""},"child_max":1,"h":0,"o":0,"p":0,"relations":[{"page_index":0,"obj_id":5,"page_type":1,"bound":{"paths":[{"points":[[0,0,8],[500,0,1],[500,400,1],[0,400,1],[0,0,9]],"w":0,"h":0}],"w":500,"h":400,"x":0,"y":0},"pos":{"ct":2,"x":671.309,"y":97.062,"an":0,"w":500,"h":400}}]},{"ct":904,"id":1211752086,"topic":"图片","children":[],"kind":3,"type":2,"value":{"ct":805,"type":30,"id":0,"value":"http://itbour-user.oss-cn-hangzhou.aliyuncs.com/custAni/assets/images/U2/2017/11/30/181349694_k2ZBgCEVu0/img_0.png","pos":{"ct":2,"x":0,"y":-3.415,"an":0,"w":400,"h":206.829},"mask":{"paths":[{"points":[[0,0,8],[400,0,1],[400,200,1],[0,200,1],[0,0,9]],"w":0,"h":0}],"w":400,"h":200,"x":0,"y":0}},"child_max":1,"h":0,"o":0,"p":0,"relations":[{"page_index":0,"obj_id":6,"page_type":1,"bound":{"paths":[{"points":[[0,0,8],[400,0,1],[400,200,1],[0,200,1],[0,0,9]],"w":0,"h":0}],"w":400,"h":200,"x":0,"y":0},"pos":{"ct":2,"x":141.043,"y":125.405,"an":0,"w":400,"h":200}}]}]
                 * kind : 0
                 * type : 0
                 * child_max : 1
                 * h : 0
                 * o : 0
                 * p : 0
                 * relations : []
                 */

                private int ct;
                private int id;
                private String topic;
                private int kind;
                private int type;
                private int child_max;
                private int h;
                private int o;
                private int p;
                private List<ChildrenBean> children;
                private List<?> relations;

                public int getCt() {
                    return ct;
                }

                public void setCt(int ct) {
                    this.ct = ct;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getTopic() {
                    return topic;
                }

                public void setTopic(String topic) {
                    this.topic = topic;
                }

                public int getKind() {
                    return kind;
                }

                public void setKind(int kind) {
                    this.kind = kind;
                }

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }

                public int getChild_max() {
                    return child_max;
                }

                public void setChild_max(int child_max) {
                    this.child_max = child_max;
                }

                public int getH() {
                    return h;
                }

                public void setH(int h) {
                    this.h = h;
                }

                public int getO() {
                    return o;
                }

                public void setO(int o) {
                    this.o = o;
                }

                public int getP() {
                    return p;
                }

                public void setP(int p) {
                    this.p = p;
                }

                public List<ChildrenBean> getChildren() {
                    return children;
                }

                public void setChildren(List<ChildrenBean> children) {
                    this.children = children;
                }

                public List<?> getRelations() {
                    return relations;
                }

                public void setRelations(List<?> relations) {
                    this.relations = relations;
                }

                public class ChildrenBean {
                    /**
                     * ct : 904
                     * id : 1211750915
                     * topic : 文字
                     * children : []
                     * kind : 3
                     * type : 1
                     * value : {"ct":808,"type":20,"id":0,"value":"请搜索一键生成...","min":0,"max":10,"tip":""}
                     * child_max : 1
                     * h : 0
                     * o : 0
                     * p : 0
                     * relations : [{"page_index":0,"obj_id":5,"page_type":1,"bound":{"paths":[{"points":[[0,0,8],[500,0,1],[500,400,1],[0,400,1],[0,0,9]],"w":0,"h":0}],"w":500,"h":400,"x":0,"y":0},"pos":{"ct":2,"x":671.309,"y":97.062,"an":0,"w":500,"h":400}}]
                     */

                    private int ct;
                    private int id;
                    private String topic;
                    private int kind;
                    private int type;
                    private ValueBean value;
                    private int child_max;
                    private int h;
                    private int o;
                    private int p;
                    private List<?> children;
                    private List<RelationsBean> relations;

                    public int getCt() {
                        return ct;
                    }

                    public void setCt(int ct) {
                        this.ct = ct;
                    }

                    public int getId() {
                        return id;
                    }

                    public void setId(int id) {
                        this.id = id;
                    }

                    public String getTopic() {
                        return topic;
                    }

                    public void setTopic(String topic) {
                        this.topic = topic;
                    }

                    public int getKind() {
                        return kind;
                    }

                    public void setKind(int kind) {
                        this.kind = kind;
                    }

                    public int getType() {
                        return type;
                    }

                    public void setType(int type) {
                        this.type = type;
                    }

                    public ValueBean getValue() {
                        return value;
                    }

                    public void setValue(ValueBean value) {
                        this.value = value;
                    }

                    public int getChild_max() {
                        return child_max;
                    }

                    public void setChild_max(int child_max) {
                        this.child_max = child_max;
                    }

                    public int getH() {
                        return h;
                    }

                    public void setH(int h) {
                        this.h = h;
                    }

                    public int getO() {
                        return o;
                    }

                    public void setO(int o) {
                        this.o = o;
                    }

                    public int getP() {
                        return p;
                    }

                    public void setP(int p) {
                        this.p = p;
                    }

                    public List<?> getChildren() {
                        return children;
                    }

                    public void setChildren(List<?> children) {
                        this.children = children;
                    }

                    public List<RelationsBean> getRelations() {
                        return relations;
                    }

                    public void setRelations(List<RelationsBean> relations) {
                        this.relations = relations;
                    }

                    public class ValueBean {
                        /**
                         * ct : 808
                         * type : 20
                         * id : 0
                         * value : 请搜索一键生成...
                         * min : 0
                         * max : 10
                         * tip :
                         */

                        private int ct;
                        private int type;
                        private int id;
                        private String value;
                        private int min;
                        private int max;
                        private String tip;

                        public int getCt() {
                            return ct;
                        }

                        public void setCt(int ct) {
                            this.ct = ct;
                        }

                        public int getType() {
                            return type;
                        }

                        public void setType(int type) {
                            this.type = type;
                        }

                        public int getId() {
                            return id;
                        }

                        public void setId(int id) {
                            this.id = id;
                        }

                        public String getValue() {
                            return value;
                        }

                        public void setValue(String value) {
                            this.value = value;
                        }

                        public int getMin() {
                            return min;
                        }

                        public void setMin(int min) {
                            this.min = min;
                        }

                        public int getMax() {
                            return max;
                        }

                        public void setMax(int max) {
                            this.max = max;
                        }

                        public String getTip() {
                            return tip;
                        }

                        public void setTip(String tip) {
                            this.tip = tip;
                        }
                    }

                    public class RelationsBean {
                        /**
                         * page_index : 0
                         * obj_id : 5
                         * page_type : 1
                         * bound : {"paths":[{"points":[[0,0,8],[500,0,1],[500,400,1],[0,400,1],[0,0,9]],"w":0,"h":0}],"w":500,"h":400,"x":0,"y":0}
                         * pos : {"ct":2,"x":671.309,"y":97.062,"an":0,"w":500,"h":400}
                         */

                        private int page_index;
                        private int obj_id;
                        private int page_type;
                        private BoundBean bound;
                        private PosBean pos;

                        public int getPage_index() {
                            return page_index;
                        }

                        public void setPage_index(int page_index) {
                            this.page_index = page_index;
                        }

                        public int getObj_id() {
                            return obj_id;
                        }

                        public void setObj_id(int obj_id) {
                            this.obj_id = obj_id;
                        }

                        public int getPage_type() {
                            return page_type;
                        }

                        public void setPage_type(int page_type) {
                            this.page_type = page_type;
                        }

                        public BoundBean getBound() {
                            return bound;
                        }

                        public void setBound(BoundBean bound) {
                            this.bound = bound;
                        }

                        public PosBean getPos() {
                            return pos;
                        }

                        public void setPos(PosBean pos) {
                            this.pos = pos;
                        }

                        public class BoundBean {
                            /**
                             * paths : [{"points":[[0,0,8],[500,0,1],[500,400,1],[0,400,1],[0,0,9]],"w":0,"h":0}]
                             * w : 500
                             * h : 400
                             * x : 0
                             * y : 0
                             */

                            private int w;
                            private int h;
                            private int x;
                            private int y;
                            private List<PathsBean> paths;

                            public int getW() {
                                return w;
                            }

                            public void setW(int w) {
                                this.w = w;
                            }

                            public int getH() {
                                return h;
                            }

                            public void setH(int h) {
                                this.h = h;
                            }

                            public int getX() {
                                return x;
                            }

                            public void setX(int x) {
                                this.x = x;
                            }

                            public int getY() {
                                return y;
                            }

                            public void setY(int y) {
                                this.y = y;
                            }

                            public List<PathsBean> getPaths() {
                                return paths;
                            }

                            public void setPaths(List<PathsBean> paths) {
                                this.paths = paths;
                            }

                            public class PathsBean {
                                /**
                                 * points : [[0,0,8],[500,0,1],[500,400,1],[0,400,1],[0,0,9]]
                                 * w : 0
                                 * h : 0
                                 */

                                private int w;
                                private int h;
                                private List<List<Integer>> points;

                                public int getW() {
                                    return w;
                                }

                                public void setW(int w) {
                                    this.w = w;
                                }

                                public int getH() {
                                    return h;
                                }

                                public void setH(int h) {
                                    this.h = h;
                                }

                                public List<List<Integer>> getPoints() {
                                    return points;
                                }

                                public void setPoints(List<List<Integer>> points) {
                                    this.points = points;
                                }
                            }
                        }

                        public class PosBean {
                            /**
                             * ct : 2
                             * x : 671.309
                             * y : 97.062
                             * an : 0
                             * w : 500
                             * h : 400
                             */

                            private int ct;
                            private double x;
                            private double y;
                            private int an;
                            private int w;
                            private int h;

                            public int getCt() {
                                return ct;
                            }

                            public void setCt(int ct) {
                                this.ct = ct;
                            }

                            public double getX() {
                                return x;
                            }

                            public void setX(double x) {
                                this.x = x;
                            }

                            public double getY() {
                                return y;
                            }

                            public void setY(double y) {
                                this.y = y;
                            }

                            public int getAn() {
                                return an;
                            }

                            public void setAn(int an) {
                                this.an = an;
                            }

                            public int getW() {
                                return w;
                            }

                            public void setW(int w) {
                                this.w = w;
                            }

                            public int getH() {
                                return h;
                            }

                            public void setH(int h) {
                                this.h = h;
                            }
                        }
                    }
                }
            }
        }
    }
}
